package com.service;


import com.domain.Comment;
import com.domain.Travel;

import java.util.*;

public interface TravelService {

    public List<Travel> findAllTravel();

    public Travel findTravelById(Integer travelid);

    public List<Comment> findCommentsByTravelId(Integer travelid);

    public Boolean commitOneComment(Comment comment);

    public Boolean commitOneTravel(Travel travel);
}
